package com.huiyeji.hui.utils;

/**
 * @author zhaoduo
 */
public enum SuccessEnum{

    /**
     *
     */
    DEFAULT("success"),
    REGISTER_SUCCESS("注册成功"),
    MODIFY_SUCCESS("修改成功"),
    REMOVE_GROUP_SUCCESS("群聊解散成功"),
    CREATE_SUCCESS("创建成功"),
    DELETE_FRIEND_SUCCESS("已将ta移出好友列表"),
    CARE_FRIEND_SUCCESS("已特别关心ta"),
    PUT_INTO_BLACK_LIST_SUCCESS("已拉黑ta"),
    ALREADY_SEND_THE_INVITATION("已发送邀请"),
    EXIT_GROUP_SUCCESS("已退出群聊"),
    KICK_OUT_SUCCESS("已将ta踢出群聊"),
    USER_RELATION_RECOVER_NORMAL_SUCCESS("好友关系恢复成功"),
    AGREE_INVITATION("已同意邀请"),
    REFUSE_INVITATION("已拒绝邀请"),
    DELETE_SUCCESS("删除成功");

    private final Integer code;

    private final String msg;

    SuccessEnum(String msg){
        this.msg = msg;
        code = 200;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
